class AddUsernameAndPasswordToHost < ActiveRecord::Migration
  def self.up
    add_column :hosts, :username,    :string, :null => false, :default => ''
    add_column :hosts, :password,    :string, :null => true
    add_column :hosts, :private_key, :string, :null => true
  end

  def self.down
    remove_column :hosts, :username
    remove_column :hosts, :password
    remove_column :hosts, :private_key
  end
end
